<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.11.0">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Crispy Plotter Documentation: SoundDrv</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<h1 class="unit">Unit SoundDrv</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#%40Description">Description</a></td><td>uses</td><td><a class="section"  href="#%40Classes">Classes, Interfaces, Objects and Records</a></td><td><a class="section"  href="#%40FuncsProcs">Functions and Procedures</a></td><td><a class="section"  href="#%40Types">Types</a></td><td><a class="section"  href="#%40Constants">Constants</a></td><td>Variables</td></tr></table>
<a name="%40Description"></a><h2 class="description">Description</h2>
<p>
This unit provides a class for receiving and playing an audio buffer.</p>
<a name="%40Uses"></a><h2 class="overview">Overview</h2>
<a name="%40Classes"></a><h3 class="cio">Classes, Interfaces, Objects and Records</h3>
<table class="classestable wide_list">
<tr class="listheader">
<th class="itemname">Name</th>
<th class="itemdesc">Description</th>
</tr>
<tr class="list">
<td class="itemname">Class&nbsp;<a class="bold"  href="SoundDrv.TSoundDrv.html"><code>TSoundDrv</code></a></td>
<td class="itemdesc">&nbsp;</td>
</tr>
</table>
<a name="%40FuncsProcs"></a><h3 class="summary">Functions and Procedures</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code>procedure <b><a   href="SoundDrv.html#HandlerWaveOutCallback">HandlerWaveOutCallback</a></b>(WaveOut: HWAVEOUT; Msg: UINT; SoundDrvInstance: DWORD; Param1, Param2: DWORD); stdcall;</code></td>
</tr>
</table>
<a name="%40Types"></a><h3 class="summary">Types</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code><b><a   href="SoundDrv.html#TSoundStatus">TSoundStatus</a></b> = (...);</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><b><a   href="SoundDrv.html#PTSoundDrvPBuffer">PTSoundDrvPBuffer</a></b> = &circ;<a   href="SoundDrv.html#TSoundDrvPBuffer">TSoundDrvPBuffer</a>;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><b><a   href="SoundDrv.html#TSoundDrvPBuffer">TSoundDrvPBuffer</a></b> = array of Smallint;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><b><a   href="SoundDrv.html#TSoundDrvCallBack">TSoundDrvCallBack</a></b> = procedure(Sender: <a   href="SoundDrv.TSoundDrv.html">TSoundDrv</a>; BufferToFill: Pointer; BufferLengthInSamples: Integer) of object;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><b><a   href="SoundDrv.html#TSoundStatusChange">TSoundStatusChange</a></b> = procedure(Sender: <a   href="SoundDrv.TSoundDrv.html">TSoundDrv</a>; Status: Integer) of object;</code></td>
</tr>
</table>
<a name="%40Constants"></a><h3 class="summary">Constants</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code><b><a   href="SoundDrv.html#SND_NOTINITED">SND_NOTINITED</a></b>  = 0;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><b><a   href="SoundDrv.html#SND_STOPPED">SND_STOPPED</a></b>    = 1;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><b><a   href="SoundDrv.html#SND_PLAYING">SND_PLAYING</a></b>    = 2;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><b><a   href="SoundDrv.html#SND_STOPPLEASE">SND_STOPPLEASE</a></b> = 3;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Functions and Procedures</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="HandlerWaveOutCallback"></a><code>procedure <b>HandlerWaveOutCallback</b>(WaveOut: HWAVEOUT; Msg: UINT; SoundDrvInstance: DWORD; Param1, Param2: DWORD); stdcall;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<h3 class="detail">Types</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="TSoundStatus"></a><code><b>TSoundStatus</b> = (...);</code></td>
</tr>
<tr><td colspan="1">
&nbsp;<h6 class="description_section">Values</h6>
<ul>
<li>
sn_NotInited = 0: &nbsp;</li>
<li>
sn_Stopped = 1: &nbsp;</li>
<li>
sn_Playing = 2: &nbsp;</li>
<li>
sn_StopPlease = 3: &nbsp;</li>
</ul>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="PTSoundDrvPBuffer"></a><code><b>PTSoundDrvPBuffer</b> = &circ;<a   href="SoundDrv.html#TSoundDrvPBuffer">TSoundDrvPBuffer</a>;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="TSoundDrvPBuffer"></a><code><b>TSoundDrvPBuffer</b> = array of Smallint;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="TSoundDrvCallBack"></a><code><b>TSoundDrvCallBack</b> = procedure(Sender: <a   href="SoundDrv.TSoundDrv.html">TSoundDrv</a>; BufferToFill: Pointer; BufferLengthInSamples: Integer) of object;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="TSoundStatusChange"></a><code><b>TSoundStatusChange</b> = procedure(Sender: <a   href="SoundDrv.TSoundDrv.html">TSoundDrv</a>; Status: Integer) of object;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<h3 class="detail">Constants</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="SND_NOTINITED"></a><code><b>SND_NOTINITED</b>  = 0;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="SND_STOPPED"></a><code><b>SND_STOPPED</b>    = 1;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="SND_PLAYING"></a><code><b>SND_PLAYING</b>    = 2;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="SND_STOPPLEASE"></a><code><b>SND_STOPPLEASE</b> = 3;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Generated by <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.11.0</a> on 2009-07-25 15:33:04</em>
</span>
</body></html>
